package com.ssy.lingxi.contract.api.model.vo.request;

import com.ssy.lingxi.common.model.vo.PageVO;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 *  合同分页request
 * @author ds
 * @version 2.0.0
 * @date 2021/4/9 16:39
 */
public class ContractPageRequest extends PageVO implements Serializable {

    private static final long serialVersionUID = 8458625324007819395L;
    /**
     * 乙方会员id
     */
    @NotNull(message = "乙方会员id必填")
    private Long partyBMemberId;

    /**
     * 乙方角色id
     */
    @NotNull(message = "乙方会员角色id必填")
    private Long partyBRoleId;
    /**
     * 合同编号
     */
    private String contractNo;
    /**
     * 摘要
     */
    private String contractAbstract;

    /**
     * 开始时间
     */
    private Long startTime;
    /**
     * 结束时间
     */
    private Long endTime;
    /**
     * 寻源类型：ContractSourceTypeEnum
     */
    private Integer sourceType;

    public Long getPartyBMemberId() {
        return partyBMemberId;
    }

    public void setPartyBMemberId(Long partyBMemberId) {
        this.partyBMemberId = partyBMemberId;
    }

    public Long getPartyBRoleId() {
        return partyBRoleId;
    }

    public void setPartyBRoleId(Long partyBRoleId) {
        this.partyBRoleId = partyBRoleId;
    }

    public String getContractNo() {
        return contractNo;
    }

    public void setContractNo(String contractNo) {
        this.contractNo = contractNo;
    }

    public String getContractAbstract() {
        return contractAbstract;
    }

    public void setContractAbstract(String contractAbstract) {
        this.contractAbstract = contractAbstract;
    }

    public Long getStartTime() {
        return startTime;
    }

    public void setStartTime(Long startTime) {
        this.startTime = startTime;
    }

    public Long getEndTime() {
        return endTime;
    }

    public void setEndTime(Long endTime) {
        this.endTime = endTime;
    }

    public Integer getSourceType() {
        return sourceType;
    }

    public void setSourceType(Integer sourceType) {
        this.sourceType = sourceType;
    }
}